<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="/easyui/themes/icon.css" />
		<link rel="stylesheet" href="/easyui/themes/default/easyui.css" />
		<title>法宝管理-法宝类型列表</title>
		<script type="text/javascript" src="/js/jquery.min.js"></script>
		<script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="/easyui/easyui-lang-zh_CN.js"></script>
	</head>
	
	<body>
		<form id="search_form">
			<table style="border-spacing:5px;">
				<tr>
					<td><input id="school_id" /></td>
					<td><input id="_type_" /></td>
					<td><input id="_name_" /></td>

					<td><a id="search">搜索</a></td>
					<td><a id="clear">清空</a></td>
				</tr>
			</table>
		</form>

		<!-- 法宝类型对话框 -->
		<div id="fabao_dialog" style="display:none;">
			<form id="fabao_form">
				<input type="hidden" id="id" name="id" />

				<table style="border-spacing:10px;">
					<tr>
						<td>法宝类型</td>
						<td><input id="type" name="type" /></td>

						<td>法宝名称</td>
						<td><input id="name" name="name" /></td>
					</tr>

					<tr>
						<td>关联等级</td>
						<td><input id="relateGrade" name="relateGrade" /></td>

						<td>关联类型</td>
						<td><input id="relateType" name="relateType" /></td>
					</tr>

					<tr>
						<td>所属门派</td>

						<td colspan="3">
							<input id="schoolId" name="schoolId" />
						</td>
					</tr>

					<tr>
						<td>法宝信息</td>

						<td colspan="3">
							<input id="note" name="note" />
						</td>
					</tr>
				</table>
			</form>
		</div>

		<!-- 修改法宝图片对话框 -->
		<div id="upload_dialog" style="display:none;">
			<form id="upload_form">
				<input type="hidden" id="categoryId" name="id" />
				<input type="hidden" id="image" name="image" />

				<table style="border-spacing:5px;">
					<tr>
						<td>上传图片</td>
						<td><input id="upload" /></td>
					</tr>

					<tr>
						<td>图片预览</td>
						<td><img id="img" height="80" /></td>
					</tr>
				</table>
			</form>
		</div>

		<table id="fabao_list"></table>

		<script type="text/javascript" src="/js/public.js"></script>
		<script type="text/javascript" src="/js/ajaxUtils.js"></script>
		<script type="text/javascript" src="/js/fabao/category_list.js"></script>
	</body>
</html>